package com.hcg.multidatasourceofanno2.config.datasource;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({DynamicDataSourceRegistrar.class})
public @interface EnableDynamicDataSource {
    String defaultDataSource() default "main";
}
